package com.vshop.entity.alast.single.serviceplan.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 响应的某个套餐的具体规格和对应价格
 *
 * @author lm
 * @date 2020/6/11 13:42
 */
@Data
public class ResponseSpecAndPrice implements Serializable {

    private static final long serialVersionUID = 6644030512260900777L;

    @ApiModelProperty(value = "规格数量，此字段即为套餐的订购周期（orderPeriod），实际上minOrderPeriod <=orderPeriod<=maxOrderPeriod", example = "1", dataType = "String")
    private String orderPeriod;

    @ApiModelProperty(value = "规格数量展示", example = "1", dataType = "String")
    private String specifications;

    @ApiModelProperty(value = "自动续费标志：1-开（有自动续费功能）;0-关(没有自动续费功能);默认为0就是没有自动续费功能", example = "0", dataType = "String")
    private String autoRenewal;

    @ApiModelProperty(value = "规格单位： 0-（前端按钮显示specifications天/days）； 1-（前端按钮显示specifications天/days）；" +
            " 2-（前端按钮显示specifications个月/months）； 3-（前端按钮显示specifications*3个月/months）；" +
            " 4-（前端按钮显示specifications*6个/months）； 5-（前端按钮显示specifications年/years）；", example = "2", dataType = "String")
    private String packageType;

    @ApiModelProperty(value = "originalPriceUSD(原始USD售价)和discountPriceUSD(原始USD售价) 所指代的币种", example = "USD/EUR", dataType = "String")
    private String currency;

    @ApiModelProperty(value = "originalPriceUSD(原始USD售价)和discountPriceUSD(原始USD售价) 所指代的币种符号", example = "$/€", dataType = "String")
    private String currencySymbol;

    @ApiModelProperty(value = "原始USD售价", example = "1", dataType = "String")
    private String originalPriceUSD;

    @ApiModelProperty(value = "原始USD售价", example = "1", dataType = "String")
    private String discountPriceUSD;

    @ApiModelProperty(value = "原始人民币售价", example = "1", dataType = "String")
    private String originalPriceCNY;

    @ApiModelProperty(value = "折扣人民币售价", example = "1", dataType = "String")
    private String discountPriceCNY;

    @ApiModelProperty(value = "节约金额人民币(originalPriceCNY-discountPriceCNY)", example = "0.50", dataType = "String")
    private String saveCNY;

    @ApiModelProperty(value = "节约金额美元(originalPriceUSD-discountPriceUSD)", example = "0.01", dataType = "String")
    private String saveUSD;
}
